#include "StdAfx.h"
#include ".\umm_endgame.h"
#include "MessageManager.h"



namespace MODULE_MESSAGES
{
	namespace UI_MODULE
	{
		
		UMM_EndGame::UMM_EndGame(void)
		{
			m_MessageID=eUMM_EndGame;
		}

		UMM_EndGame::~UMM_EndGame(void)
		{
		}

		_FOGGE_::_MSG_::Message* UMM_EndGame::MessageConstructor()
		{
			return static_cast<_FOGGE_::_MSG_::Message*>(foNEW UMM_EndGame);
		}

		void UMM_EndGame::Register(_FOGGE_::_MSG_::MessageManager* ptrMessagaManager)
		{
			ptrMessagaManager->RegisterMessage(eUMM_EndGame,MessageConstructor);
		}
		void UMM_EndGame::Unregister(_FOGGE_::_MSG_::MessageManager* ptrMessagaManager)
		{
			ptrMessagaManager->UnRegisterMessage(eUMM_EndGame);
		}
	}
}